package com.example.websocket.dao;

import com.example.websocket.entity.Friend;

import java.util.List;

public interface FriendMapper {
    int deleteByPrimaryKey(int id1,int id2);

    int insert(Friend record);

    int insertSelective(Friend record);

    Friend selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Friend record);

    int updateByPrimaryKey(Friend record);

    List<Friend> selectByUserid(int id);
}